/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ModelLager;

/**
 *
 * @author Alex Ly
 */
public class PartOrderP {
    private int amountItem;
    private SalesOrderP salesOrderP;
    private ProductP productP;
    public PartOrderP() {
    }

    public PartOrderP(int amountItem, SalesOrderP salesOrderP, ProductP productP) {
        this.amountItem = amountItem;
        this.salesOrderP = salesOrderP;
        this.productP = productP;
    }
    

    /**
     * @return the amountItem
     */
    public int getAmountItem() {
        return amountItem;
    }

    /**
     * @param amountItem the amountItem to set
     */
    public void setAmountItem(int amountItem) {
        this.amountItem = amountItem;
    }

    /**
     * @return the orderID
     */
    public SalesOrderP getSalesOrder() {
        return salesOrderP;
    }

    /**
     * @param orderID the orderID to set
     */
    public void setSalesOrder(SalesOrderP salesOrderP) {
        this.salesOrderP = salesOrderP;
    }

    /**
     * @return the productID
     */
    public ProductP getProduct() {
        return productP;
    }

    /**
     * @param productID the productID to set
     */
    public void setProduct(ProductP productP) {
        this.productP = productP;
    }
    
}
